package com.gupaoedu.vip.mall.goods.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*****
 * @Author: 波波
 * @Description: 云商城
 ****/
@Data
@AllArgsConstructor
@NoArgsConstructor
//MyBatisPlus表映射注解
@TableName(value = "spu")
public class Spu {  //商品spu表

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String name;  //SPU名
    private String intro; //商品简介
    private Integer brandId; //品牌ID
    private Integer categoryOneId; //一级分类
    private Integer categoryTwoId; //二级分类
    private Integer categoryThreeId; //三级分类
    private String images;  //图片列表
    private String afterSalesService; //售后服务
    private String content;  //介绍
    private String attributeList; //规格列表
    private Integer isMarketable; //是否上架,0已下架，1已上架
    private Integer isDelete;  //是否删除,0:未删除，1：已删除
    private Integer status;  //审核状态，0：未审核，1：已审核，2：审核不通过
}
